package com.newhero.product.module.sys.model;

import com.newhero.product.common.mybatis.annotations.TableField;
import com.newhero.product.common.mybatis.annotations.TableId;
import com.newhero.product.common.mybatis.annotations.TableName;

import java.io.Serializable;

/**
 * Created by amy on 2018/5/15.
 */
@TableName("sys_attachment")
public class Attachment  implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId("ATTACHMENTID")
    private String attachmentId;
    /**
     * 附件所属资源的id
     */
    @TableField("SOURCEID")
    private String sourceId;
    /**
     * 附件名称
     */
    @TableField("ATTACHMENTNAME")
    private String attachmentName;
    /**
     * 附件后缀名；.pdf  .aip   .docx等
     */
    @TableField("ATTACHMENTSUFFIX")
    private String attachmentSuffix;
    /**
     * 附件存储路径
     */
    @TableField("ATTACHMENTPATH")
    private String attachmentPath;
    /**
     * 附件大小
     */
    @TableField("ATTACHMENTSIZE")
    private Integer attachmentSize;
    /**
     * 附件备注
     */
    @TableField("ATTACHMENTMEMO")
    private String attachmentMemo;
    /**
     * 排序号
     */
    @TableField("ATTACHMENTORDER")
    private Integer attachmentOrder;
    /**
     *上传附件用户id
     */
    @TableField("ATTACHMENTUSERID")
    private String attachmentUserId;
    /**
     *上传附件用户名称
     */
    @TableField("ATTACHMENTUSERNAME")
    private String attachmentUserName;
    /**
     * 上传时间
     */
    @TableField("ATTACHMENTUPTIME")
    private String attachmentUptime;

    public String getAttachmentId() {
        return attachmentId;
    }

    public void setAttachmentId(String attachmentId) {
        this.attachmentId = attachmentId;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getAttachmentName() {
        return attachmentName;
    }

    public void setAttachmentName(String attachmentName) {
        this.attachmentName = attachmentName;
    }

    public String getAttachmentSuffix() {
        return attachmentSuffix;
    }

    public void setAttachmentSuffix(String attachmentSuffix) {
        this.attachmentSuffix = attachmentSuffix;
    }

    public String getAttachmentPath() {
        return attachmentPath;
    }

    public void setAttachmentPath(String attachmentPath) {
        this.attachmentPath = attachmentPath;
    }

    public Integer getAttachmentSize() {
        return attachmentSize;
    }

    public void setAttachmentSize(Integer attachmentSize) {
        this.attachmentSize = attachmentSize;
    }

    public String getAttachmentMemo() {
        return attachmentMemo;
    }

    public void setAttachmentMemo(String attachmentMemo) {
        this.attachmentMemo = attachmentMemo;
    }

    public Integer getAttachmentOrder() {
        return attachmentOrder;
    }

    public void setAttachmentOrder(Integer attachmentOrder) {
        this.attachmentOrder = attachmentOrder;
    }

    public String getAttachmentUserId() {
        return attachmentUserId;
    }

    public void setAttachmentUserId(String attachmentUserId) {
        this.attachmentUserId = attachmentUserId;
    }

    public String getAttachmentUserName() {
        return attachmentUserName;
    }

    public void setAttachmentUserName(String attachmentUserName) {
        this.attachmentUserName = attachmentUserName;
    }

    public String getAttachmentUptime() {
        return attachmentUptime;
    }

    public void setAttachmentUptime(String attachmentUptime) {
        this.attachmentUptime = attachmentUptime;
    }
}
